<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags" %>
<%@ taglib tagdir="/WEB-INF/tags" prefix="p" %>


<div class="f_l margin1" style="width:100%">
  <div style="height:24px;color:red" align="center" id="errorInfo">${failInfo }</div>
  <div style="height:24px;color:red;font-weight:bold" align="left">新增基础数据</div>
  <s:form id="submitForm" action="basicinfo!save" method="post" theme="simple">
   <table width="100%">
   	<tbody>
   		<tr>
   			<td width="6%"><s:text name="名称"/>：</td>
   			<td><input type="text" name="basicinfo.name" /></td>
   		</tr>
   		<tr>
   			<td><s:text name="类型"/>：</td>
   			<td>
   				<select name="basicinfo.type" id="basicinfo.type">
	                <option value="">-- 请选择 --</option>
	                <option value="0">功能</option>
	                <option value="1">剂型</option>
	                <option value="2">计量单位</option>
	                <option value="3">信息类别</option>
	            </select>
   			</td>
   		</tr>
   		<tr>
   			<td><s:text name="内容"/>：</td>
   			<td><input type="text" name="basicinfo.content" id="basicinfo.content" /></td>
   		</tr>
   		<tr>
   			<td><input type="submit" value="确认" onclick="return doValidate(event);" /></td>
   			<td><input type="button" value="取消" onclick="javascript:history.back(-1);"/></td>
   		</tr>
   	</tbody>
   </table>
  </s:form>
</div>
